Skip to content

Conversation

ligurio
Copy link
Owner

@ligurio ligurio commented Jul 8, 2025

In the latest commits LUAI_MAXSTACK is defined privately [1]:

LUAI_MAXSTACK is limited to INT_MAX/2, so can use INT_MAX/2 to
define pseudo-indices (LUA_REGISTRYINDEX) in 'lua.h'. A change
in the maximum stack size does not need to change the Lua-C ABI.

  1. lua/lua@59a1adf

In the latest commits LUAI_MAXSTACK is defined privately [1]:

> LUAI_MAXSTACK is limited to INT_MAX/2, so can use INT_MAX/2 to
> define pseudo-indices (LUA_REGISTRYINDEX) in 'lua.h'. A change
> in the maximum stack size does not need to change the Lua-C ABI.

1. lua/lua@59a1adf
@ligurio ligurio merged commit bfac9d7 into master Jul 8, 2025
12 checks passed
@ligurio ligurio deleted the ligurio/gh-xxxx-fix-build-with-lua branch July 8, 2025 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant